<include file="Common:header" title="添加服务类型"/>
<!--主题-->
<div class="page-header">
    <h1>
        您当前操作
        <small>
            <i class="ace-icon fa fa-angle-double-right"></i>
            添加服务类型
        </small>
    </h1>
</div>

<div class="row">
    <div class="col-xs-12">
        <form class="form-horizontal" id="form"  method="post" action="{:U('Service/add_service_type')}">
            <!--<div class="form-group">-->
                <!--<label class="col-lg-2 control-label" > id：  </label>-->
                <!--<div class="col-sm-4">-->
                    <!--<input type="text"  id="id" name="id" value="{$data.id}" placeholder=""  class="form-control" />-->
                <!--</div>-->
            <!--</div>-->
            <!--<div class="space-4"></div>-->


            <div class="form-group">
                <label class="col-lg-2 control-label" > 服务类型：  </label>
                <div class="col-sm-4">
                    <input type="text"  id="name" name="name" value="" placeholder=""  class="form-control" />
                </div>
            </div>
            <div class="space-4"></div>





            <div class="clearfix form-actions">
                <div class="col-md-offset-3 col-md-9">
                    <div class="btn btn-info" onclick="submit_form()">
                        <i class="ace-icon fa fa-check bigger-110"></i>
                        添加
                    </div>

                    <button class="btn" type="reset">
                        <i class="ace-icon fa fa-undo bigger-110"></i>
                        重置
                    </button>

                    <div class="space-4"></div>

                </div>
            </div>
        </form>
    </div>
</div>





<script src="__PUBLIC__/assets/js/jquery-2.1.1.js"></script>



<script src="__PUBLIC__/photoClip/js/iscroll-zoom.js"></script>
<script src="__PUBLIC__/photoClip/js/hammer.js"></script>
<script src="__PUBLIC__/photoClip/js/jquery.photoClip.js"></script>

<include file='Common:header_nav' />
<script>






</script>

<script>
    function submit_form() {
        if ($('#service_name').val() == '') {
            layer.msg('服务名称不能为空');
            $('#service_name').focus();
            return false;
        }







        $('#form').submit();
    }
</script>


<include file="Common:footer"/>